import * as types from './mutations-types'

const mutations = {
  [types.SET_RECENTLY_LIST](state, list) {
    state.recentlyList = list;
  },
  [types.SET_USER_ID](state, user) {
    state.userId = user;
  },
  [types.SET_TOKEN](state, token) {
    state.token = token;
  },
  [types.SET_SHOPPING_CAT](state, list) {
    state.shoppingCat = list;
  }
};

export default mutations
